package com.baizhi.service;

import com.baizhi.entity.Auction;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AuctionService {
    List<Auction> selectByPage(int pageNum,int pageSize);
    int count();
    void insert(Auction a);
    List<Auction> selectFuzzy(String auctionName,String auctionDesc,String auctionStartTime,String auctionEndTime,double auctionUpset);
    void deleteById(int id);
    void updateById(Auction a);
    Auction selectById(int id);
}
